package com.tarim.streetdance.service.impl;

import com.tarim.streetdance.mapper.FileSystemMapper;
import com.tarim.streetdance.model.FileSystemWithBLOBs;
import com.tarim.streetdance.service.FileSystemService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FileSystemServiceImpl implements FileSystemService {
    @Autowired
    FileSystemMapper fileSystemMapper;

    @Override
    public int insertSelective(FileSystemWithBLOBs record) {
        return fileSystemMapper.insertSelective(record);
    }

    @Override
    public int insertFiles(List<FileSystemWithBLOBs> list) {
        return fileSystemMapper.insertFiles(list);
    }

    @Override
    public FileSystemWithBLOBs selectByPrimaryKey(String id) {
        return fileSystemMapper.selectByPrimaryKey(id);
    }
}
